/**
 * 行政处罚
 */
import store from '@/store';
const company = store.getters.companyInfo;
const dt = company.Company;

const gd = dt.Penalty;
const contents = gd.map((item, key) => {
  return {
    left: item.PenaltyType,
    children: [
      { left: '裁决文书', content: item.DocNo, link: '', icon: '', right: '' },
      {
        left: '行政处罚内容',
        content: item.Content || '-',
        link: '',
        icon: '',
        right: ''
      },
      {
        left: '处罚决定日期',
        content: item.PenaltyDate || '-',
        link: '',
        icon: '',
        right: ''
      },
      {
        left: '公示日期',
        content: item.PublicDate || '-',
        link: '',
        icon: '',
        right: ''
      },
      {
        left: '决定机关',
        content: item.OfficeName || '-',
        link: '',
        icon: '',
        right: ''
      }
    ]
  };
});

export default contents;
// export default [];
